home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-10-23 | 405 b | 16 lines | [TEXT/ScoM] |
- gauss
-
- Returns a gaussian distributed random number in the range of -2 to 2. Used by the Brownian noise generator.
-
- (init-rnd 0.456)
-
- (let ((out nil))
- (dotimes (i 10)
- (push (gauss) out))
- out)
- --> (1.216158260119129 -1.15450216395387 2.468771371784495
- 1.2998815399862975 -0.330899693890812 -1.0184222104815892
- -1.5557545777703017 0.27169424284981014 -0.11454325943515187
- 0.5108481213682996)
-
-